package com.yihu.beans;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.yihu.web.bean.ArtworkModel;
import com.yihu.web.bean.BaseCommodity;
import com.yihu.web.bean.Video;
import com.yihu.web.bean.artwork.type.ArtworkFont;
import com.yihu.web.bean.artwork.type.ArtworkMaterial;
import com.yihu.web.bean.artwork.type.ArtworkScene;
import com.yihu.web.bean.artwork.type.ArtworkStyle;
import com.yihu.web.bean.artwork.type.ArtworkSubject;
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown=true)
public class Artwork extends BaseCommodity implements Serializable{
	
	private static final long serialVersionUID = 1L;

	public Date createTime = new Date();
	public Date finishTime = new Date();
	public int long_ = 0;
	public int widht = 0;
	public String unit = "cm";
	private String content;
	private String contentId;
	private ArtworkContent artworkContent;
	//TYPE
	public ArtworkAuthor artworkAuthor;
	public ArtworkCategory artworkCategory;
	
	public ArtworkType artworkType;
	private ArtworkFont font;//  字体
	private ArtworkMaterial material;//材质
	private ArtworkStyle style;// 风格
	private ArtworkScene scene;//  场景
	private ArtworkSubject subject;// 主题
	private List<Video> videos;
	private List<ArtworkModel> artworkModels;
	private String updateBy;
	private Date updateAt = new Date();
	
	
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public Date getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}
	public List<ArtworkModel> getArtworkModels() {
		return artworkModels;
	}
	public void setArtworkModels(List<ArtworkModel> artworkModels) {
		this.artworkModels = artworkModels;
	}
	public List<Video> getVideos() {
		return videos;
	}
	public void setVideos(List<Video> videos) {
		this.videos = videos;
	}
	
	public ArtworkFont getFont() {
		return font;
	}
	public void setFont(ArtworkFont font) {
		this.font = font;
	}
	public ArtworkMaterial getMaterial() {
		return material;
	}
	public void setMaterial(ArtworkMaterial material) {
		this.material = material;
	}
	public ArtworkStyle getStyle() {
		return style;
	}
	public void setStyle(ArtworkStyle style) {
		this.style = style;
	}
	public ArtworkScene getScene() {
		return scene;
	}
	public void setScene(ArtworkScene scene) {
		this.scene = scene;
	}
	public ArtworkSubject getSubject() {
		return subject;
	}
	public void setSubject(ArtworkSubject subject) {
		this.subject = subject;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public ArtworkAuthor getArtworkAuthor() {
		return artworkAuthor;
	}
	public void setArtworkAuthor(ArtworkAuthor artworkAuthor) {
		this.artworkAuthor = artworkAuthor;
	}
	public ArtworkCategory getArtworkCategory() {
		return artworkCategory;
	}
	public void setArtworkCategory(ArtworkCategory artworkCategory) {
		this.artworkCategory = artworkCategory;
	}
	public int getLong_() {
		return long_;
	}
	public void setLong_(int long_) {
		this.long_ = long_;
	}
	public int getWidht() {
		return widht;
	}
	public void setWidht(int widht) {
		this.widht = widht;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public ArtworkType getArtworkType() {
		return artworkType;
	}
	public void setArtworkType(ArtworkType artworkType) {
		this.artworkType = artworkType;
	}
	public ArtworkContent getArtworkContent() {
		return artworkContent;
	}
	public void setArtworkContent(ArtworkContent artworkContent) {
		this.artworkContent = artworkContent;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}

}
